#include <iostream>

using namespace std;

template <class T>
T GetMax(T a, T b) {
	T result;
	result = ( a > b) ? a:b;
	return (result);
}

int main()
{
	int i =5;
	int j = 6;
	int k;
	k = GetMax<int>(i,j);
	cout<< k <<endl;

	return 0;
}


